From 511cd1ac8bcb33aae115c8ed9b36fd870a0abf11 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Thu, 28 Feb 2013 21:33:29 +0000 Subject: [PATCH] Add (somewhat bogus) bushnell trail writer test. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4331 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/testo.d/bushnell.test | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gpsbabel/testo.d/bushnell.test b/gpsbabel/testo.d/bushnell.test index 3b40afba5..dc6b64ff7 100644 --- a/gpsbabel/testo.d/bushnell.test +++ b/gpsbabel/testo.d/bushnell.test @@ -7,5 +7,10 @@ compare ${REFERENCE}/bushnell.gpx ${TMPDIR}/bushnell.gpx gpsbabel -i bushnell -f ${REFERENCE}/bushnell.wpt -o bushnell -F ${TMPDIR}/bushnell bincompare ${REFERENCE}/bushnell.wpt ${TMPDIR}/bushnell-0.wpt -gpsbabel -i bushnell_trl -f ${REFERENCE}/bushnell_trl.trl -o gpx -F ${TMPDIR}/bushnell_trl.gpx +gpsbabel -i bushnell_trl -f ${REFERENCE}/bushnell_trl.trl -o gpx -F ${TMPDIR}/bushnell_trl.gpx -o bushnell_trl -F ${TMPDIR}/bush_trl.trl compare ${REFERENCE}/bushnell_trl.gpx ${TMPDIR}/bushnell_trl.gpx + +# Because of numeric instability, we don't actually do the compare, but there's +# value just in spinning through the writer. +gpsbabel -i bushnell_trl -f ${TMPDIR}/bush_trl.trl -o gpx -F ${TMPDIR}/bush~gpx.gpx +# compare ${REFERENCE}/bushnell_trl.gpx ${TMPDIR}/bush~gpx.gpx -- 2.30.2